home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM A / PD-ROM A.iso / Education / Math / Conversion 1.5.6 / Conversion.docx < prev   
Encoding:
Text File  |  1991-12-26  |  10.0 KB  |  166 lines  |  [TEXT/ttxt]

  1. “Conversion 1.5.6”
  2. by Rick Johnson
  3. 2216 Allen Lane
  4. Waukesha, WI  53186
  5. GEnie: RICK.JOHNSON
  6. Saturday, March 23, 1991
  7.  
  8. Requires Mac Plus or better (for popup menus)!
  9.  
  10. Revision History:
  11. Version 1.5.6 accomplishes the following:
  12. • Adds this note of caution to the documentation: the MultiFinder DA Handler doesn’t like 
  13. Conversion’s equation parser. If you plan to enter numbers as equations, hold down the Option 
  14. key while selecting Conversion from the Apple menu. This forces the current application (or the 
  15. Finder) to host the DA, and seems to offer a workaround for the problem.
  16. • Allows the About/Help window to come up with 12k memory available instead of 20. If you 
  17. don’t have 12k available and still want to see the Help window, save your work and call Help 
  18. while holding down the Option key. The worst that will _usually_ happen is that some elements of 
  19. the window (including the help text) may not draw.
  20. Version 1.5.5 accomplishes the following:
  21. Conversion 2.0 is now in beta testing, so I hadn’t planned on producing this version of Conversion, 
  22. but I’ve found that my time will be limited over the next couple of months and my schedule for 
  23. the Conversion 2.0 release is certain to slip. In the interim, a bug fix was still needed for 1.5.4, so 
  24. here’s 1.5.5.
  25. • Corrects a bug in 1.5.4 that prevented the use of negative numbers in temperature conversions. 
  26. Earlier versions didn’t have this problem. I can’t allow Conversion to lie to people about the 
  27. weather!
  28. • Allows entering numbers as equations. See the instructions in the DA’s Help/About box.
  29. • Improved clipboard support for MultiFinder. Now cut, copy or paste text between Conversion 
  30. and applications, or paste Conversion’s Result or Calc List directly into an application. When 
  31. pasting information into Conversion, any characters not allowed by typing will also be filtered out.
  32. • Command-Up Arrow now sets the input units to the output units as well as copying the output 
  33. value. The entire field is also selected so you can immediately copy it to the clipboard to paste the 
  34. number into an application without the accompanying unit name (e.g. “2” rather than “2 feet”).
  35. • The Help/About window now redraws after screen savers have kicked in.
  36. Version 1.5.4 is based on Michael J. Conrad’s DA Skeleton version 2, rather than version 1, which 
  37. should improve reliability. Improved auto-selection of input units when converting lengths:
  38. • Mixed numbers and fractions (i.e. “1 1/2”) now works in all calculations that allow input of a “/” 
  39. character.
  40. • Improved specification of input units by:
  41.    - [p] or [pi] for picas
  42.    - [P] or [Pi] for PostScript picas
  43.    - [f], [ft], [i], [in], ['] or ["] for feet/inches
  44.    - [mm] for millimeters
  45.    - [cm] for centimeters
  46.    - [m] for meters
  47. Version 1.5.3 was a minor modification to an area that could possibly cause the DA to hang on 
  48. some systems. Unfortunately, the DA still has conficts on some systems.
  49. Version 1.5.2 corrects an error in the conversion factor for Fathoms in 1.5.1.
  50. Version 1.5.1 runs so many circles around any previous version, who cares what came before it!
  51.  
  52. ===============
  53.  
  54. I wrote this Macintosh desk accessory because I work as an “electronic illustrator” and, for 
  55. technical drawings, it's always a pain to have to convert between inches and millimeters. I 
  56. included points and picas to make it easier for people without a graphic arts background to work 
  57. with desktop publishing software. After pressing the Enter or Return key, the DA will calculate 
  58. your measurement in the chosen units and then select the entire edit box so you can immediately 
  59. type in the next number without having to mouse around.
  60.  
  61. Clipboard support: In the Options menu, you can select Copy Result to put the current result in the 
  62. clipboard for other applications or desk accessories. Selecting Copy Calc List will copy all of your 
  63. current session’s input and conversion results to the clipboard. Changing unit types triggers a 
  64. calculation, but only calculations you trigger with Return or Enter will be added to the list. All of 
  65. the standard Cut, Copy and Paste functions also work in the input box. Pressing the Command key 
  66. and the Up Arrow (cursor up) will copy the current result to the Input Units edit box. MultiFinder 
  67. users, Conversion now fully supports the clipboard even under MultiFinder!.
  68.  
  69. Keyboard entry: When using lengths, you can enter distances as “1p6” for one pica six points 
  70. (Conversion will switch to points as your input units, or PostScript points if you use a capital “P”), 
  71. 1'6" or “1 1/2ft” for one foot six inches (input units switches to inches), 2m for two meters (input 
  72. units switches to meters), 2mm for two millimeters (input units switches to millimeters). Fractions 
  73. can now be entered as well as decimals. For example, “1/2” can be substituted for “.5” and “1/3p” 
  74. is equal to 4 points in lengths conversions. Fraction conversion is two way: fraction to decimal and 
  75. decimal to fraction.
  76.  
  77. You can enter numbers as equations. For example, the following all equal “12”:
  78.   4*3
  79.   2x6
  80.   36÷3
  81.   24/2
  82.   8+4
  83.   13-1
  84.   26-(7*2)
  85. Conversion performs all calculation from left-to-right, but parentheses can be used to alter 
  86. calculation order. Parentheses may also be nested as needed. Please note that    “*” or “x” may be 
  87. used interchangeably for multiplication. Either “/” or “÷” (the division symbol is an Option-Slash) 
  88. may be used for division, although it's important to be aware that Conversion treats numbers 
  89. separated by slashes as fractions, and that whole numbers and fractions must be separated by a 
  90. space (not a hyphen). In general, don’t use slashes in equations unless you're defining a fraction. 
  91. To be safe, eTo be safe, enter your equation with the same input and output units to test the 
  92. equation’s result before converting it.
  93.  
  94. The DA remembers your favorite menu selections and its location on the screen. If it finds its 
  95. window outside the screen size, it’ll center it on the screen.
  96.  
  97. Scrollable Help: the About... box, which can be accessed by typing a question mark, command-
  98. slash or clicking on the “?” button, has lots of helpful information because it scrolls!
  99.  
  100. If you have less than the 20k necessary to open the help/about… window, then Conversion will 
  101. beep. If you have less than 2k memory available when you press Enter or Return, then 
  102. Conversion will beep to remind you there isn’t enough memory to safely continue adding data to 
  103. the Calc List. If you frequently run into memory shortages while converting lengths, use 
  104. MiniConversion instead: it’s a smaller, lengths-only version of this DA.
  105.  
  106. Fractions: The Fraction-to-Decimal feature converts all of your favorite fractions to decimals. The 
  107. Decimal-to-Fraction feature converts your input to the nearest 1/64th and then let you know if it 
  108. was an exact fit or not. 
  109.  
  110. Numerics: Convert between hexadecimal, octal, decimal and binary.
  111.  
  112. Volume: Convert between liters, cords and various English and metric cubic units.
  113.  
  114. Area: Convert between square miles, acres and various squared English and metric units.
  115.  
  116. Geographical Units: Similar to lengths, but in larger units such as miles, kilometers, chains, links 
  117. and leagues.
  118.  
  119. Temperatures: Convert between Celsius, Fahrenheit and Kelvins.
  120.  
  121. Model Railroad: Convert between the major model railroad scales, including prototype. This one 
  122. assumes input in inches to format the alternate result display, so it may help to use foot and inch 
  123. marks when you enter dimensions.
  124.  
  125. If you’ve uploaded any earlier version of Conversion to another BBS, I’d really appreciate it if you 
  126. could delete it and upload this one in its place. It’s more useful and more reliable than any earlier 
  127. version.
  128.  
  129. === Conversion 2.0 ===
  130. Conversion DA version 2.0 is now in beta testing. If you'd like to help test it, please send a 
  131. stamped (two stamps), self-addressed envelope and a couple of extra stamps to cover the cost of 
  132. the floppy disk to:
  133. Rick Johnson
  134. Graffix
  135. 2216 Allen Lane
  136. Waukesha, WI 53186
  137. Planned for version 2 (early 1991) are more menu items and more conversion types, including 
  138. power output, torque, light, pressure and fuel consumption. A utility is in the works that will 
  139. allow you to edit most of the conversion tables and their related menu items. Entire menus or 
  140. individual menu items can be turned off, and conversion factors can be changed. A French version 
  141. is also available.
  142.  
  143. If you have any suggestions or comments, I’d like to hear from you. My thanks to those of you 
  144. who have made suggestions or located trouble spots for me. I've just completed and am torture-
  145. testing a “proportion wheel”-like DA to help graphic artists size art and photos for reproduction. If 
  146. you have a need for something like this, or suggestions as to what you'd like to see in it, please let 
  147. me know and I'll contact you when it's ready.
  148.  
  149. FYI—How Conversion works: For every type of conversion except temperature, fractions and 
  150. numeric, there's a table that gives each unit's equivalent in one common denominator (either feet, 
  151. liters, kilograms or kilometers), calculated to a precision of 20 decimal places. When it's converted 
  152. to the chosen output units, it's again calculated and rounded to the nearest 20th digit. Its 
  153. calculations aren't always perfect, but they're at least pretty darn close!
  154.  
  155. ACKNOWLEDGEMENTS: My many thanks to Michael J. Conrad for his DA Skeleton (versions 1 and 
  156. 2), upon which Conversion was first built, and Jon P. Wind for his many fascinating demos that 
  157. inspired me to get into Mac programming in the first place. Thanks also all of the people whose 
  158. input has been the basis of every new or improved feature since 1.0. These include: Martin 
  159. Doettling (German translator and chief beta torture tester), Sébastien Montambeault (French 
  160. translator), Andy Burns, Dick Skover, Marv Johnson, Dan Schweitzer, Jerry Muelver (interface 
  161. intuitivity torture tester from the DOS/Gem/Windows school), Larry Scott (Mac Hardware Yoda, 
  162. from his homemade Mac to IIci), Brian Morgan, Peggy Burback (who got this whole thing started—
  163. now see if you can get me OUT of this, Peggy!), Walt Baranger, Bruce Motogawa, Chester Schmidt, 
  164. “Fresno Bob” Seigel, Edward H. Bennett, Ken Garzo, Wm. C. Feldbaumer and the dozens of others 
  165. who have supported and encouraged my efforts. Thanks, gang!
  166.